<?php
$rs = ['id' => $_GET['id'], 'name' => $_GET['name'], 'token' => getallheaders()['Token']];
echo json_encode($rs);